import java.io.*;
import java.util.*;

public class JukeNJava {
	public static void main(String args[]){
	
        	jnj_ui jui = new jnj_ui();

		jui.ui();

        }
}


class jnj_ui {

	
	public void ui(){
		int a = 1;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String userInput = "";
		System.out.println("hello, welcome to Juke'n'Java, the CLI music player");
		
		while(a == 1){
			System.out.println("gimme some input");
			try{
				userInput = br.readLine();
			}catch(java.io.IOException exp){exp.printStackTrace();}
			int userInputInt = Integer.parseInt(userInput);
			a = processInput(userInputInt);
		}
	}
	public int processInput(int userInput){
		int returnVal = 1;
		if(userInput == 0){
			returnVal = 0 ;
		}	
		else{
			returnVal = 1;
		}
	return returnVal;
	
	}
}
